package com.tcdp.delegates;

import java.util.Date;
import java.util.List;

import com.tcdp.models.BlogCategory;
import com.tcdp.models.BlogPost;
import com.tcdp.models.BlogPostComment;
import com.tcdp.models.BlogPostTag;

public class BlogPostDelegate extends AbstractDelegate {

	private BlogPost blogPostObject;
	
	public BlogPostDelegate() {
		super();
		this.blogPostObject = new BlogPost();
	}

	public BlogPostDelegate(BlogPost blogPostObject) {
		super();
		this.blogPostObject = blogPostObject;
	}

	public BlogPost getBlogPostObject() {
		return blogPostObject;
	}

	public void setBlogPostObject(BlogPost blogPostObject) {
		this.blogPostObject = blogPostObject;
	}

	public int hashCode() {
		return blogPostObject.hashCode();
	}

	public boolean equals(Object obj) {
		return blogPostObject.equals(obj);
	}

	public int getBlogPostId() {
		return blogPostObject.getBlogPostId();
	}

	public void setBlogPostId(int blogPostId) {
		blogPostObject.setBlogPostId(blogPostId);
	}

	public String getBlogPostAuthor() {
		return blogPostObject.getBlogPostAuthor();
	}

	public void setBlogPostAuthor(String blogPostAuthor) {
		blogPostObject.setBlogPostAuthor(blogPostAuthor);
	}

	public String getBlogPostContent() {
		return blogPostObject.getBlogPostContent();
	}

	public void setBlogPostContent(String blogPostContent) {
		blogPostObject.setBlogPostContent(blogPostContent);
	}

	public Date getBlogPostDate() {
		return blogPostObject.getBlogPostDate();
	}

	public void setBlogPostDate(Date BlogPostDate) {
		blogPostObject.setBlogPostDate(BlogPostDate);
	}

	public String getBlogPostTitle() {
		return blogPostObject.getBlogPostTitle();
	}

	public void setBlogPostTitle(String blogPostTitle) {
		blogPostObject.setBlogPostTitle(blogPostTitle);
	}

	public String getBlogPostUrl() {
		return blogPostObject.getBlogPostUrl();
	}

	public void setBlogPostUrl(String blogPostUrl) {
		blogPostObject.setBlogPostUrl(blogPostUrl);
	}

	public List<BlogPostTag> getBlogPostTags() {
		return blogPostObject.getBlogPostTags();
	}

	public void setBlogPostTags(List<BlogPostTag> blogPostTags) {
		blogPostObject.setBlogPostTags(blogPostTags);
	}

	public BlogCategory getBlogCategory() {
		return blogPostObject.getBlogCategory();
	}

	public void setBlogCategory(BlogCategory blogCategory) {
		blogPostObject.setBlogCategory(blogCategory);
	}

	public String toString() {
		return blogPostObject.toString();
	}

	public List<BlogPostComment> getBlogPostComments() {
		return blogPostObject.getBlogPostComments();
	}

	public void setBlogPostComments(List<BlogPostComment> blogPostComments) {
		blogPostObject.setBlogPostComments(blogPostComments);
	}

	public boolean getBlogPostEnableComments() {
		return blogPostObject.getBlogPostEnableComments();
	}

	public void setBlogPostEnableComments(boolean blogPostEnableComments) {
		blogPostObject.setBlogPostEnableComments(blogPostEnableComments);
	}
	
}
